package com.example.demo.adapter;

public class slf4jAndlog4j implements slf4j{

    private Log4j log4j;

    public slf4jAndlog4j(Log4j log4j) {
        this.log4j = log4j;
    }

    @Override
    public void log(String message) {
        log4j.print("我是适配器");
    }
}
